#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <unistd.h>
#include <thread>
using namespace std;

void hello(){
    cout << "hello,world" << endl;
    thread th(hello);
    th.detach();
}

int main(){
    cout << thread::hardware_concurrency() << endl;
    cout << this_thread::get_id() << endl;
    std::thread th(hello);
    th.detach();
    sleep(10);
    return 0;
}